package models

import "gorm.io/gorm"

type Book struct {
	gorm.Model
	Name    string `gorm:":type:varchar(50)"`
	Content string `gorm:"type:text"`
	Author  string `gorm:":type:varchar(50)"`
}
type User struct {
	gorm.Model
	Username string `gorm:":type:varchar(50)"`
	Password string `gorm:":type:varchar(255)"`
}
